package com.gnerv.sylvanas.module.redis.autoconfigure;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.Map;

@Data
@ConfigurationProperties(prefix = "spring.data.redis.dynamic")
public class DynamicRedisDataSourceProperties {

    private String primary = "master";
    private Boolean strict = false;
    private Map<String, RedisDataSourceProperties> redis;

}
